package com.zwj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zwj.entity.UserEntity;
import com.zwj.vo.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentInfoMapper extends BaseMapper<UserEntity> {
    //查询学生个人信息
    QueryStudentPersonalInfoVo queryStudentPersonalInfo(String id);
    //查询学生邮箱信息
    String queryStudentEmail(String id);
    //查询学生电话信息
    String queryStudentMobile(String id);
    //更新学生邮箱信息
    Integer updateStudentEmail(UserEntity userEntity);
    //更新学生电话信息
    Integer updateStudentMobile(UserEntity userEntity);
    //查询实训小组信息
    List<QueryTrainingTeamInfoVo> queryTrainingTeamInfo(String id);
    //查询课程的签到和签退时间
    List<QueryCourseSignTimeVo> queryCourseSignTime(String courseId);
    //查询课程中所有学生id
    List<QueryCourseStudentsVo> queryCourseStudents(String courseId);
}
